package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member);

    Map getMemberReport() throws Exception;

    List<Map> getMemberGenderCount();

    List<Map> getCountByAgeScope();

    Map getMemberReportByDate(List<Date> list) throws Exception;
}
